.class Les/ak$a;
.super Les/ak$b;
.source "BaiduAdProvider.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/ak;->a(Landroid/content/Context;Landroid/view/ViewGroup;Lcom/estrongs/android/pop/app/ad/cn/AdType;Lcom/estrongs/android/pop/app/ad/cn/b;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Landroid/content/Context;

.field final synthetic b:Landroid/view/ViewGroup;

.field final synthetic c:Lcom/estrongs/android/pop/app/ad/cn/AdType;

.field final synthetic d:Lcom/estrongs/android/pop/app/ad/cn/b;

.field final synthetic e:Les/ak;


# direct methods
.method constructor <init>(Les/ak;Landroid/content/Context;Landroid/view/ViewGroup;Lcom/estrongs/android/pop/app/ad/cn/AdType;Lcom/estrongs/android/pop/app/ad/cn/b;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/ak$a;->e:Les/ak;

    iput-object p2, p0, Les/ak$a;->a:Landroid/content/Context;

    iput-object p3, p0, Les/ak$a;->b:Landroid/view/ViewGroup;

    iput-object p4, p0, Les/ak$a;->c:Lcom/estrongs/android/pop/app/ad/cn/AdType;

    iput-object p5, p0, Les/ak$a;->d:Lcom/estrongs/android/pop/app/ad/cn/b;

    invoke-direct {p0}, Les/ak$b;-><init>()V

    return-void
.end method


# virtual methods
.method public onAdClick()V
    .locals 3

    .line 1
    invoke-super {p0}, Les/ak$b;->onAdClick()V

    .line 2
    iget-object v0, p0, Les/ak$a;->e:Les/ak;

    iget-object v1, p0, Les/ak$a;->c:Lcom/estrongs/android/pop/app/ad/cn/AdType;

    iget-object v2, p0, Les/ak$a;->d:Lcom/estrongs/android/pop/app/ad/cn/b;

    invoke-virtual {v0, v1, v2}, Les/bk;->a(Lcom/estrongs/android/pop/app/ad/cn/AdType;Lcom/estrongs/android/pop/app/ad/cn/b;)V

    return-void
.end method

.method public onAdError(Ljava/lang/String;I)V
    .locals 5

    .line 1
    invoke-super {p0, p1, p2}, Les/ak$b;->onAdError(Ljava/lang/String;I)V

    .line 2
    iget-object v0, p0, Les/ak$a;->e:Les/ak;

    iget-object v1, p0, Les/ak$a;->c:Lcom/estrongs/android/pop/app/ad/cn/AdType;

    iget-object v2, p0, Les/ak$a;->d:Lcom/estrongs/android/pop/app/ad/cn/b;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "bd-native "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, v1, v2, p2, p1}, Les/bk;->a(Lcom/estrongs/android/pop/app/ad/cn/AdType;Lcom/estrongs/android/pop/app/ad/cn/b;ILjava/lang/String;)V

    return-void
.end method

.method public onAdLoaded(Ljava/util/List;)V
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/baidu/mobads/nativecpu/IBasicCPUData;",
            ">;)V"
        }
    .end annotation

    .line 1
    invoke-super {p0, p1}, Les/ak$b;->onAdLoaded(Ljava/util/List;)V

    if-eqz p1, :cond_1

    const/4 v0, 0x0

    .line 2
    :goto_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_1

    .line 3
    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/baidu/mobads/nativecpu/IBasicCPUData;

    .line 4
    invoke-interface {v1}, Lcom/baidu/mobads/nativecpu/IBasicCPUData;->getType()Ljava/lang/String;

    move-result-object v2

    const-string v3, "ad"

    .line 5
    invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_0

    goto :goto_1

    .line 6
    :cond_0
    iget-object v2, p0, Les/ak$a;->e:Les/ak;

    invoke-static {v2}, Les/ak;->a(Les/ak;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 7
    :cond_1
    iget-object p1, p0, Les/ak$a;->e:Les/ak;

    invoke-static {p1}, Les/ak;->a(Les/ak;)Ljava/util/List;

    move-result-object p1

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p1

    if-lez p1, :cond_2

    .line 8
    iget-object p1, p0, Les/ak$a;->e:Les/ak;

    iget-object v0, p0, Les/ak$a;->a:Landroid/content/Context;

    iget-object v1, p0, Les/ak$a;->b:Landroid/view/ViewGroup;

    iget-object v2, p0, Les/ak$a;->c:Lcom/estrongs/android/pop/app/ad/cn/AdType;

    iget-object v3, p0, Les/ak$a;->d:Lcom/estrongs/android/pop/app/ad/cn/b;

    invoke-static {p1, v0, v1, v2, v3}, Les/ak;->a(Les/ak;Landroid/content/Context;Landroid/view/ViewGroup;Lcom/estrongs/android/pop/app/ad/cn/AdType;Lcom/estrongs/android/pop/app/ad/cn/b;)V

    goto :goto_2

    .line 9
    :cond_2
    iget-object p1, p0, Les/ak$a;->e:Les/ak;

    iget-object v0, p0, Les/ak$a;->c:Lcom/estrongs/android/pop/app/ad/cn/AdType;

    iget-object v1, p0, Les/ak$a;->d:Lcom/estrongs/android/pop/app/ad/cn/b;

    const/4 v2, -0x1

    const-string v3, "bd-native no ad"

    invoke-virtual {p1, v0, v1, v2, v3}, Les/bk;->a(Lcom/estrongs/android/pop/app/ad/cn/AdType;Lcom/estrongs/android/pop/app/ad/cn/b;ILjava/lang/String;)V

    :goto_2
    return-void
.end method

.method public onNoAd(Ljava/lang/String;I)V
    .locals 5

    .line 1
    invoke-super {p0, p1, p2}, Les/ak$b;->onNoAd(Ljava/lang/String;I)V

    .line 2
    iget-object v0, p0, Les/ak$a;->e:Les/ak;

    iget-object v1, p0, Les/ak$a;->c:Lcom/estrongs/android/pop/app/ad/cn/AdType;

    iget-object v2, p0, Les/ak$a;->d:Lcom/estrongs/android/pop/app/ad/cn/b;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "bd-native "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, v1, v2, p2, p1}, Les/bk;->a(Lcom/estrongs/android/pop/app/ad/cn/AdType;Lcom/estrongs/android/pop/app/ad/cn/b;ILjava/lang/String;)V

    return-void
.end method
